<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <title>My JSP 'index.jsp' starting page</title>
  </head>
    
  <body>
    <form action="web/webTestAction.action">
    	<input type="submit" value=" 提 交 ">
    </form>
    
    <form name="myform1" action="wapOperate?requestType=createTopic" method="post" enctype="multipart/form-data">
    	<table>
    		<tr>
    			<td>
			    	userId ：<input type="text" name="userId" id="userId" />
    			</td>
    		</tr>
    		<tr>
    			<td>
			    	title : <input type="text" name="title" id="title" />
    			</td>
    		</tr>
    		<tr>
    			<td>
			    	content : <input type="text" name="content" id="content" />
    			</td>
    		</tr>
    		<tr>
    			<td>
			    	<input type="file" name="file" />
    			</td>
    		</tr>
    		<tr>
    			<td>
					<input type="submit" name="submit" value="发帖" />
    			</td>
    		</tr>
    	</table>
    </form>
    
    
    <form name="myform2" action="wapOperate?requestType=queryTopics" method="post">
    	<table>
    		<tr>
    			<td>
			    	userId ：<input type="text" name="userId" id="userId" />
    			</td>
    		</tr>
    		<tr>
    			<td>
					<input type="submit" name="submit" value="查询帖子" />
    			</td>
    		</tr>
    	</table>
    </form>
    
     <form name="myform3" action="wapOperate?requestType=createTopicBack" method="post">
    	<table>
    		<tr>
    			<td>
			    	帖子ID ：<input type="text" name="topic_id" id="topic_id" />
    			</td>
    			<td>
			    	userId ：<input type="text" name="userId" id="userId" />
    			</td>
    			<td>
			    	content ：<input type="text" name="content" id="content" />
    			</td>
    		</tr>
    		<tr>
    			<td>
					<input type="submit" name="submit" value="回帖" />
    			</td>
    		</tr>
    	</table>
    </form>
    
     <form name="myform4" action="wapOperate?requestType=queryTopicBack" method="post">
    	<table>
    		<tr>
    			<td>
			    	帖子ID ：<input type="text" name="topic_id" id="topic_id" />
    			</td>
    		</tr>
    		<tr>
    			<td>
					<input type="submit" name="submit" value="查询回复" />
    			</td>
    		</tr>
    	</table>
    </form>
  </body>
</html>
